php fix for herokut btr