display warning to user