fixed two problems #29

I found the problem and removed :)