remove redundant method when creating markers