added a check for freefloating else tags