small items code fix