fixing some issues on code, and specified a custom boards