storage length error fixed