fixed helper functions names of castr