fixed little bug for compilation. compilation working. to be tested