fixing namespace and killing closing php tag