fixed bug wrong variable type