fixing bugs and getting Parse to work