added bin build and fixed warning bug