added fix for non cors request