fixes small resize bug in basic