replaced maintitle with title