made the message from last commit more robust