Fixed warnings for accessing non-existing properties