double commit

why am I having to commit twice?