removed extra space when no appointment selected