Correct some errors, Integration with netbeans php