Splitstack implementation for android
Fix regiser states