bug resize fixed