Revert "fix commit" Error in directory to commit

This reverts commit 1544297ed3108b50ca73791a5998b6ceda8be91a.
add sample with short type