added str() method, fixed buggy references set in the push methods