compiler error resolved