using cleanup
get and set width and height + return a response