bug,was wrog data type