Found that I was not checking types in print expressions so I fixed that