fix to push endpoint