remove else after tail call