fix ret type