remove unnecessary type annotation