getProperty issue: returns undefined instead of false for boolean and 0 for integer