Fix: Code for pushing

This code fixed push, without it, it creashes