Was having issues with a bad Mass Air Flow sensor. Put in a new one, and man it's workin like a charm. Two days I've put about 40-50 miles on the car and not a single issue(they were happening after about 25 miles before). However today it started having a minor issue at start. It begins to start then dies, but if I rev it for a second it starts just fine. Had this issue before and it was the battery but this time it is also giving me a P0171 code saying it's running lean. Any ideas?