Fixed settings module variable in postactivate hoock