cleanup and fix mod_cluster frontend