little compiler fix

not a nice way, need to think about a better solution.