fix stand condition