bug with category one way relation