removed unintentional space in when snippet