fixing package endpoint