load callback and some cleanup