bug fixes for roll