Fixed logs not rendering sometimes