unwrapped the code from the module and it started working