fixing php links