remove unnecessary type coersion