Merge habib's changes

http://jira.webinos.org/browse/WP-1319