removed duplication in sprite sass function module