Remove parseInt
Remove parseFloat
Fixed image loading and discard