else bug fixed