added "-" to list of allowed characters