fixed else error