fix links
small optimizations
closed #1271