fix bug in hashing shortcut for transparency