fix layout issue when creating new snipit