4/24 bug fixed: wrong error message: wrong type name (for if statement)