corrected sync buffer, module now compiling