fixed numerous strict php errors for static methods