quit button needs fixing