quick php fix and function termination.