Fixed error with loading properties