fixed some bugs with the needs