some fixes for backwards compatibility and transparencies