fixed string comparation bug

When compare return of boolean function with “true”