place marker correctly