fixed some wordpress integration