fix object type (removing warning)