componsate for posgress bug