fixing build in IDE and CLI