fixed has and get mthod of Response