Fixed Storage Exploit Issue.

and polished the code <3
sorry for my initial code chessnut.
:DDD