fixed narrowing error for ubuntu touch