fix type of variables (1.4 task)