changed variable type

changed variable type