Fixed bug

Changed a, b, c and d on 1345.