RESIZE BUG FIXED