removing excess php