fix compile error and get rid of .hrl no longer needed