rename error
handle invalid json in commands file