check return sizes