Fixed bug in solutions