clean up vibrate code