improved php transever and added unit tosts for it