bug fixes for last commit
sql server configuration setup