undo unnecessary "casting"