another optimization on specjms