fix mirror bug

Signed-off-by: Alin Jerpelea <alin.jerpelea@sonymobile.com>