mask bug fixed arg length