fixing bug causing null pointer when fixtures being retrieved