Fixed delta and gamma bug