fix bz1023514 and jboss carts

[test]