Fix push do not pass credentials to other push method which causes some bugs in push function