takign out null from to() in config