fixed some eval issues and added correct printing