tweaks to php vars