fixes for curtain system