resolves php fatal error - interface was extending the wrong class