fixed minor errors
changed database link
minor fixes