fixed php script using non existing method