fix skipping so that functions are still defined