fix sticky behavior