workaround for custom ROMs