Add warning and fix function keys