Fixed sys command bug