fix for lowercase controller detection in HTML