Corrected type in variable