Fixes android exception