fix return code (need shift)