fixed some revael stuff