Check slash char at the end