magic number fix