else without if fixed