Fixed ClassCastException in Properties