write first passage and fix some bug in the theme