fixed issue with creating new case