#335 corrected compile error