fixing else error