improvment handle resize