Trying to fix compiler error