fixed bug whrere input placeholder
didn't run when val == placeholder