made changes to account for php55w