add userful constants in constants class, correction of bug for joints of rider