fix chunk regenerating