Fixed variable and string errors