fix NoneType when depends are not specified (fix #245)