fixing broken GET method