fixed problem with wordpress deploy being async