change mode not working