push, constructor check not working