bugfix to marks