refactor schemasstatusmenu to prevent "unchain" error