bug fix on ninja crud