tweak to php