fixed resize bug on DEV too