fixed a bug with environment names containing only numbers