frontend cleaning