fix resize

#9