bug on marker directive