Fixed errors causing problems for localhost:4000