fixed compatability problems
Merge branch '3.0-beta' of github.com:cjemagid/skyphp into 3.0-beta