set properties if entity doesn't contain method
restore gzip