fixed bsp compiling