correct hybrid path
remove unnecessary php tags