correct compiler error