Fix getBoolean method