fixed case void check due to boxing