fixing compile errors in autoreveal