fixed bug by adding reset_roll method