is this a bug in 5.10 or did I do sometime wrong?

Probably the latter. Try to ask these questions and see if that helps: