fixed broken solution