change the mothod of placing role on grid