fixed error when pushing values