fix error , remove undefined gets as an error