different behavior for glass and android