refactor debug option
return status hash