- fixes for rephp