fix a bug, updated workflow php class to 0.3