Corrected errors in local push implementation