fix problem with device param in board