bug fix at edit module