fix issue

proper rending of the function.