Fixed major bug in chunk