postCreate method fix