some little bug fixes

some little bug fixes:
better loading...