remove else statements (unnecessary) from links