right, fixed it now and added a test about that.