hotfix reset button
remove unnecessary type conversions