small fix for cube template