Fixed all-in bug