fixed bug changed "is" to "=="