Solve problem with warning returning false.