Fixed all bugs.