resize bug fixed(?)