Remove unneeded preg_match and left over css