fix magic number