updated signals to fix resize bug