rests problem fixed!