fixing bug when trying to install wp framework