Fixed crash resulting from bad commit