small fix in tips functions