fixing more bugs; kfree not working...