fix implementation of first
export wrap