Solved bug with boolean false