Fix bug with '-' character