move interface file
fixed bug for compiler