fix (bool) casting : add space and use (bool) instead of (boolean) to cast